package springbootrest.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import springbootrest.demo.analyze.bean.ImportAnalyzeDemoBeanA;
import springbootrest.demo.test.FilterTst;
import springbootrest.demo.test.FulfillmentOrderFilter;

import java.util.List;

@SpringBootApplication
public class DemoApplication  {

    public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(DemoApplication.class, args);
		/*ImportAnalyzeDemoBeanA beanA =context.getBean(ImportAnalyzeDemoBeanA.class);
		beanA.printlnTest();*/
		FilterTst beanA =context.getBean(FilterTst.class);
		beanA.filters();
		beanA.fill();
		//System.out.println(3<<3);
    }

}
